//
// GNS_IOSHelper.h
// MobileManageSys
//
// Created by mr.l on 16/1/15.
//
//

#ifndef __MobileManageSys__GNS_IOSHelper__
#define __MobileManageSys__GNS_IOSHelper__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "Tsingleton.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

#if (CC_TARGET_PLATFORM==CC_PLATFORM_IOS)
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_dl.h>
#import <netinet/in.h>
//#import <SystemConfiguration/SCNetworkReachability.h>
#endif

class GNS_IOSHelper : public TSingleton<GNS_IOSHelper>
{
public:
    GNS_IOSHelper();
    ~GNS_IOSHelper();
    static GNS_IOSHelper * GetInstance();
    //获取剪切板
    bool GetClipboard(std::string Test);
    //获取wifi网卡地址ios7以下
    const char  *getMacAddress();
    //获取IDFAios6以上
    const char *getIDFA();
    
private:
    static GNS_IOSHelper * m_Instance;
};

#endif /* defined(__MobileManageSys__GNS_IOSHelper__) */